package com.ezjie.ielts.util;

import android.content.Context;
import android.view.View;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;

import com.ezjie.ielts.R;

public class AnimUtils {

	public static void downAnim(Context context, View view) {

		Animation animation = AnimationUtils.loadAnimation(context, R.anim.slide_down);

		view.startAnimation(animation);

	}

	public static void upAnim(Context context, View view) {

		Animation animation = AnimationUtils.loadAnimation(context, R.anim.slide_up);

		view.startAnimation(animation);

	}
}
